﻿package emusic.api.clients 
{
	import emusic.api.EMusicClient;
	import flash.net.URLVariables;
	
	/**
	 * ...
	 * @author Martin Legris ( http://blog.martinlegris.com )
	 */
	public class AlbumSearchRequest extends ArtistSearchRequest
	{
		protected var _imageSize:String = "medium";
		
		public function get imageSize():String { return _imageSize; }		
		public function set imageSize(value:String):void { _imageSize = value; }
		
		public function AlbumSearchRequest()
		{
			super();
			_requestUri = "/album/search";
		}
		
		override public function getVars():URLVariables
		{
			var vars:URLVariables = super.getVars();
			vars.imageSize = _imageSize;
			return vars;
		}
	}
}